package hessian.service;

import hession.model.LuceneDocument;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;

public interface LuceneService {
	public ArrayList<LuceneDocument> doSelect(Map<String,Object> map) throws IOException;
	public void doUpdate(Map<String,String> doc) throws IOException;
	public void doUpdate(Collection<Map<String, String>> docs) throws IOException;
	public void doCommit() throws IOException;
	public void doReload() throws IOException;
	public void doClose() throws IOException;
}
